<?php
$hostname = Configure::read('hostname');
if(file_exists(__DIR__.'/database_local.php')){
    require 'database_local.php';
}else {
    require 'database_production.php';
}
